package thread;
class MyThread extends Thread {
    @Override
    public void run(){
        System.out.println("hello world!");
    }
}
public class Demo1 {
    public static void main(String[] args) {
        MyThread myThread = new MyThread();
        myThread.start();
    }
}
